package com.TrainingCenter.service;

import com.TrainingCenter.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: ibook
 * Date: 12.05.14
 * Time: 19:20
 * To change this template use File | Settings | File Templates.
 */
public interface EntityService<T extends User> {
    public void add(T Persitent);
    public void edit(T Persitent);
    public void delete(int id);
    public void delete(T Persitent);
    T get(int id);
    List<T> getAllUser();
}
